@extends('admin.inc.base')
@section('content')
    <table class="table">
        <tr>
            <th>序号</th>
            <th>账号</th>
            <th>创建时间</th>
            <th>更新时间</th>
            <th>操作</th>
        </tr>
        @foreach($data as $key => $item)
            <tr>
                <td>{{ $key }}</td>
                <td>{{ $item -> username }}</td>
                <td>{{ $item -> created_at }}</td>
                <td>{{ $item -> updated_at }}</td>
                <td><a href="/administrator/manager/{{ $item ->id }}/edit">编辑</a>&nbsp;<a href="/administrator/manager/{{ $item ->id }}/delete">删除</a></td>
            </tr>
        @endforeach
    </table>

@endsection